import React, { Component } from 'react';
import axios from 'axios'
// import { Button } from 'antd-mobile'

class App extends Component {
  
  componentDidMount(){
    axios.get('/data')
      .then(res=>{
        console.log(res)
    })
  }
  render() {
    return (
      <div >
        <h1> 你好</h1>
      </div>
    );
  }
}

export default App;
